<template>
  <div></div>
</template>

<script>
export default {
  components: {},
  props: ["source", "toolboxWorker"],
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {
    async show() {
      let infoData = await this.loadInfo();
      this.tool.showJSONData(infoData);
    },
    hide() {
      this.showDialog = false;
    },
    async loadInfo() {
      let param = this.toolboxWorker.getWorkParam({});
      let res = await this.server.kafka.info(param);
      if (res.code != 0) {
        return res.msg;
      }
      return res.data;
    },
    init() {},
  },
  created() {},
  mounted() {
    this.toolboxWorker.showInfo = this.show;
    this.init();
  },
};
</script>

<style>
</style>
